<?php include_once $_SERVER["DOCUMENT_ROOT"] . '/JuventudeSlz/modelo/bean/IEntity.php'; ?>
<?php include_once $_SERVER["DOCUMENT_ROOT"] . '/JuventudeSlz/modelo/bean/Nivel.php'; ?>
<?php

class Usuario implements IEntity {

    private $id,
            $nivel,
            $nome;
    
    public function getAttributes() {
        return array("nivel","nome");
    }
    
    public function __toString() {
        return "usuario";
    }
    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getNivel() {
        return $this->nivel;
    }

    public function setNivel(Nivel $nivel) {
        $this->nivel = $nivel;
    }

    public function getNome() {
        return $this->nome;
    }

    public function setNome($nome) {
        $this->nome = $nome;
    }
}

?>
